home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1989 November
/
1989-11.d64
/
turbo convert
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
936b
|
31 lines
10 rem copyright 1989 compute! publications, inc. -- all rights reserved
20 print"[147][194]uilding [212]urbo [198]ormat...[208]lease [215]ait"
30 print""tab(13)"[195]opyright 1989"
40 printtab(7)"[195][207][205][208][213][212][197]! [208]ublications, [201]nc.":printtab(10)"[193]ll rights reserved."
50 open15,8,15:open2,8,2,"0:turbo format,p,r"
60 input#15,a$,b$,c$,d$:ifval(a$)>0thenprinta$,b$,c$,d$:close2,15:end
70 print#15,"m-r"chr$(24)chr$(0)chr$(2)
80 get#15,t$:t=asc(t$+chr$(0))
90 get#15,s$:s=asc(s$+chr$(0))
100 print#15,"m-r"chr$(97)chr$(2)
110 get#15,d$:d=asc(d$+chr$(0))
120 print#15,"m-r"chr$(103)chr$(2)
130 get#15,i$:i=asc(i$+chr$(0))
140 open3,8,3,"#"
150 print#15,"u1";3;0;t;s
160 get#3,tp$:tp=asc(tp$+chr$(0))
170 get#3,sp$:sp=asc(sp$+chr$(0))
180 print#15,"b-p";3;0
190 print#3,chr$(0);chr$(255);
200 print#15,"u2";3;0;t;s:close2:close3
210 open2,8,2,"#"
220 print#15,"u1";2;0;18;d
230 print#15,"b-p";2;i
240 print#2,chr$(131);chr$(tp);chr$(sp);chr$(71);chr$(101);chr$(111);chr$(115);
250 print#2,chr$(84);chr$(117);chr$(114);chr$(98);chr$(111);chr$(70);chr$(111);
260 print#2,chr$(114);chr$(109);chr$(97);chr$(116);
270 print#15,"b-p";2;i+19
280 print#2,chr$(t);chr$(s);chr$(0);chr$(6);
290 print#15,"u2";2;0;18;d
300 close2:close3:close15